]> dgit.raspbian.org Git - gnome-shell.git/commit
baseAppView: Call loadGrid() directly
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Sat, 29 Jun 2019 16:22:08 +0000 (13:22 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 6 Aug 2019 00:19:25 +0000 (21:19 -0300)
commit3003e9091deb76d3166b6a19d847abd9942d14fb
treeb73280e6e5b2a23b110726f5b637f8196a2216a7
parent8d9da107100ee3a1395d0d69e7d21424003aa98f
baseAppView: Call loadGrid() directly

Now that the three views follow the exact same loading routine
(remove all + load apps + load grid), we don't need each view
call loadGrid() directly anymore.

This is an important step in order to animate adding and removing
icons, since now we can diff old and new app icons properly.

Move all calls to BaseAppView.loadGrid() to a single one after
BaseAppView._loadApps(). Also add the underscore prefix, since
this is now considered a protected function.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/645
js/ui/appDisplay.js